<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link  th:href="@{/js/plugins/layui/css/layui.css}" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/plugins/webuploader/webuploader.css">
<link rel="stylesheet" type="text/css" href="/css/plugins/webuploader/webuploader-demo.css">
<script src="/js/plugins/layui/layui.js"></script>
<script src="/js/plugins/webuploader/webuploader.min.js"></script>
    <div class="wrapper wrapper-content animated fadeIn">
        <div class="row">
            <div class="col-sm-3">
            <div class="contact-box">
                    <a href="#" id="left_article_0">
                        <div class="col-sm-4">
                            <div class="text-center">
                                <!-- <img id="left_img_0" alt="image" class="img-circle m-t-xs img-responsive" src="/images/a2.jpg"> -->
                                <img id="left_img_0" alt="image" class="img-circle m-t-xs img-responsive" src="/images/a2.jpg">
                                <div class="m-t-xs font-bold">CTO</div>
                            </div>
                        </div>
                        <div class="col-sm-7">
                            <p id="left_title_0">文章标题</p>
                        </div>
                        <div class="clearfix" onclick="controllShow(0)"></div>
                    </a>
                    <hr>
                    
                    <a href="#" onclick="addArticle(this)">
                        <div class="col-sm-12">
                            <div class="text-center">
                                <div class="m-t-xs font-bold">
                                <li class="fa fa-plus-circle" style="font-size:60px"></li>
                               </div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </a>
                </div>
            </div>
        
		<div class="col-sm-9 animated fadeInRight">
			<div class="mail-box-header" style="padding-top: 7px;padding-bottom: 11px;">
				<div class="pull-right tooltip-demo">
					<a href="#" onclick="save()" class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="top" title="存为草稿">
					<i class="fa fa-pencil"></i>保存
					</a> 
					
					<a href="mailbox.html"class="btn btn-danger btn-sm" data-toggle="tooltip" data-placement="top" title="放弃">
						<i class="fa fa-times"></i>放弃
					</a>
				</div>
				<h2>图文消息</h2>
			</div>
			
			<form class="form-horizontal" id="saveForm" method="post">
				<div class="mail-box">
				    <!-- 标题作者star -->
					<div class="mail-body" id="right_article_0">
					         <!-- 标题star -->
							<div class="form-group">
								<div class="col-sm-12">
									<input type="text" name="title[0]" oninput=synchronous(this,'left_title_0') id="right_title_0" class="form-control" placeholder="标题">
								</div>
							</div>
							 <!-- 作者st -->
							<div class="form-group">
								<div class="col-sm-12">
									<input type="text" id="right_author_0" name="author[0]" class="form-control" value="" placeholder="作者">
								</div>
							</div>
							
							<!-- 文件封面 -->
							<div class="form-group">
								<div class="col-sm-4">
									<button type="button" id="right_banner_0" class="form-control" >封面上传</button>
									<input type="hidden" name="banner[0]" id="right_img_0" class="form-control" value="" placeholder="原文链接">
								</div>
								<div class="col-sm-8">
					                 <input type="text" name="sourceUrl" id="right_author_0" class="form-control" value="" placeholder="原文链接">
								</div>
							</div>
							
							<div class="form-group">
							<div class="col-sm-12">
							    <script id="contents_0" name="content[0]" type="text/plain"></script>
							</div>
						</div>
					</div>
				    <div class="clearfix" id="ueitorflag"></div>
				</div>
				
				
			</form>
		</div>
		<!-- --- -->
        </div>
    <div th:include="include :: footer"></div>
    </div>
    
    
    <script type="text/javascript" charset="utf-8" src="/js/plugins/neditor/neditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/js/plugins/neditor/neditor.all.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/js/plugins/neditor/i18n/zh-cn/zh-cn.js"></script>
    <script src="/js/business/system/wxmaterial/upload_article.js"></script>
</body>

</html>
